package cn.liwq.study.demo.netty.lab.mahjong.common.codec;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @author lweiqiang
 * @date 2021/5/8
 */
public class MahjongFrameDecoder extends LengthFieldBasedFrameDecoder {
    public MahjongFrameDecoder() {
        // 2个字节表示最多可传输65535个字节的内容
        super(65535, 0, 2, 0, 2);
    }
}
